package org.neuedu.chapter06_0622.demo03;

public class WarriorTest {
    public static void main(String[] args) {
        Warrior w1 = new Warrior("吕布");
        Weapon wp1 = new Weapon("方天画戟",99);
        w1.setWeapon(wp1);

        Warrior w2 = new Warrior("关羽");

    }
}
